home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / stk-3.002 / stk-3 / STk-3.1 / Tk / unix / tkUnixDefault.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-31  |  15.5 KB  |  525 lines

  1. /*
  2.  * tkUnixDefault.h --
  3.  *
  4.  *    This file defines the defaults for all options for all of
  5.  *    the Tk widgets.
  6.  *
  7.  * Copyright (c) 1991-1994 The Regents of the University of California.
  8.  * Copyright (c) 1994-1995 Sun Microsystems, Inc.
  9.  *
  10.  * See the file "license.terms" for information on usage and redistribution
  11.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  12.  *
  13.  * SCCS: @(#) tkUnixDefault.h 1.85 96/02/15 18:55:24
  14.  */
  15.  
  16. #ifndef _TKUNIXDEFAULT
  17. #define _TKUNIXDEFAULT
  18.  
  19. /*
  20.  * The definitions below provide symbolic names for the default colors.
  21.  * NORMAL_BG -        Normal background color.
  22.  * ACTIVE_BG -        Background color when widget is active.
  23.  * SELECT_BG -        Background color for selected text.
  24.  * TROUGH -        Background color for troughs in scales and scrollbars.
  25.  * INDICATOR -        Color for indicator when button is selected.
  26.  * DISABLED -        Foreground color when widget is disabled.
  27.  */
  28.  
  29. #define BLACK        "Black"
  30. #define WHITE        "White"
  31.  
  32. #define NORMAL_BG    "#d9d9d9"
  33. #define ACTIVE_BG    "#ececec"
  34. #define SELECT_BG    "#c3c3c3"
  35. #define TROUGH        "#c3c3c3"
  36. #define INDICATOR    "#b03060"
  37. #define DISABLED    "#a3a3a3"
  38.  
  39. /*
  40.  * Defaults for labels, buttons, checkbuttons, and radiobuttons:
  41.  */
  42.  
  43. #define DEF_BUTTON_ANCHOR        "center"
  44. #define DEF_BUTTON_ACTIVE_BG_COLOR    ACTIVE_BG
  45. #define DEF_BUTTON_ACTIVE_BG_MONO    BLACK
  46. #define DEF_BUTTON_ACTIVE_FG_COLOR    BLACK
  47. #define DEF_BUTTON_ACTIVE_FG_MONO    WHITE
  48. #define DEF_BUTTON_BG_COLOR        NORMAL_BG
  49. #define DEF_BUTTON_BG_MONO        WHITE
  50. #define DEF_BUTTON_BITMAP        ""
  51. #define DEF_BUTTON_BORDER_WIDTH        "2"
  52. #define DEF_BUTTON_CURSOR        ""
  53. #define DEF_BUTTON_COMMAND        ""
  54. #define DEF_BUTTON_DISABLED_FG_COLOR    DISABLED
  55. #define DEF_BUTTON_DISABLED_FG_MONO    ""
  56. #define DEF_BUTTON_FG            BLACK
  57. #define DEF_BUTTON_FONT            "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"
  58. #define DEF_BUTTON_HEIGHT        "0"
  59. #define DEF_BUTTON_HIGHLIGHT_BG        NORMAL_BG
  60. #define DEF_BUTTON_HIGHLIGHT        BLACK
  61. #define DEF_LABEL_HIGHLIGHT_WIDTH    "0"
  62. #define DEF_BUTTON_HIGHLIGHT_WIDTH    "2"
  63. #define DEF_BUTTON_IMAGE        (char *) NULL
  64. #ifdef STk_CODE
  65. #   define DEF_BUTTON_INDICATOR        "#t"
  66. #else
  67. #   define DEF_BUTTON_INDICATOR        "1"
  68. #endif
  69. #define DEF_BUTTON_JUSTIFY        "center"
  70. #ifdef STk_CODE
  71. #  define DEF_BUTTON_OFF_VALUE        "#f"
  72. #  define DEF_BUTTON_ON_VALUE        "#t"
  73. #else
  74. #  define DEF_BUTTON_OFF_VALUE        "0"
  75. #  define DEF_BUTTON_ON_VALUE        "1"
  76. #endif
  77. #define DEF_BUTTON_PADX            "3m"
  78. #define DEF_LABCHKRAD_PADX        "1"
  79. #define DEF_BUTTON_PADY            "1m"
  80. #define DEF_LABCHKRAD_PADY        "1"
  81. #define DEF_BUTTON_RELIEF        "raised"
  82. #define DEF_LABCHKRAD_RELIEF        "flat"
  83. #define DEF_BUTTON_SELECT_COLOR        INDICATOR
  84. #define DEF_BUTTON_SELECT_MONO        BLACK
  85. #define DEF_BUTTON_SELECT_IMAGE        (char *) NULL
  86. #define DEF_BUTTON_STATE        "normal"
  87. #ifdef STk_CODE
  88. #  define DEF_LABEL_TAKE_FOCUS        "#f"
  89. #else
  90. #  define DEF_LABEL_TAKE_FOCUS        "0"
  91. #endif
  92. #define DEF_BUTTON_TAKE_FOCUS        (char *) NULL
  93. #define DEF_BUTTON_TEXT            ""
  94. #define DEF_BUTTON_TEXT_VARIABLE    ""
  95. #define DEF_BUTTON_UNDERLINE        "-1"
  96. #ifdef STk_CODE
  97. #  define DEF_BUTTON_VALUE        "#f"
  98. #else
  99. #  define DEF_BUTTON_VALUE        ""
  100. #endif
  101. #define DEF_BUTTON_WIDTH        "0"
  102. #define DEF_BUTTON_WRAP_LENGTH        "0"
  103. #ifdef STk_CODE
  104. #  define DEF_RADIOBUTTON_VARIABLE    "*selected-button*"
  105. #else
  106. #  define DEF_RADIOBUTTON_VARIABLE    "selectedButton"
  107. #endif
  108. #define DEF_CHECKBUTTON_VARIABLE    ""
  109.  
  110. /*
  111.  * Defaults for canvases:
  112.  */
  113.  
  114. #define DEF_CANVAS_BG_COLOR        NORMAL_BG
  115. #define DEF_CANVAS_BG_MONO        WHITE
  116. #define DEF_CANVAS_BORDER_WIDTH        "0"
  117. #define DEF_CANVAS_CLOSE_ENOUGH        "1"
  118. #ifdef STk_CODE
  119. #  define DEF_CANVAS_CONFINE        "#t"
  120. #else
  121. #  define DEF_CANVAS_CONFINE        "1"
  122. #endif
  123. #define DEF_CANVAS_CURSOR        ""
  124. #define DEF_CANVAS_HEIGHT        "7c"
  125. #define DEF_CANVAS_HIGHLIGHT_BG        NORMAL_BG
  126. #define DEF_CANVAS_HIGHLIGHT        BLACK
  127. #define DEF_CANVAS_HIGHLIGHT_WIDTH    "2"
  128. #define DEF_CANVAS_INSERT_BG        BLACK
  129. #define DEF_CANVAS_INSERT_BD_COLOR    "0"
  130. #define DEF_CANVAS_INSERT_BD_MONO    "0"
  131. #define DEF_CANVAS_INSERT_OFF_TIME    "300"
  132. #define DEF_CANVAS_INSERT_ON_TIME    "600"
  133. #define DEF_CANVAS_INSERT_WIDTH        "2"
  134. #define DEF_CANVAS_RELIEF        "flat"
  135. #define DEF_CANVAS_SCROLL_REGION    ""
  136. #define DEF_CANVAS_SELECT_COLOR        SELECT_BG
  137. #define DEF_CANVAS_SELECT_MONO        BLACK
  138. #define DEF_CANVAS_SELECT_BD_COLOR    "1"
  139. #define DEF_CANVAS_SELECT_BD_MONO    "0"
  140. #define DEF_CANVAS_SELECT_FG_COLOR    BLACK
  141. #define DEF_CANVAS_SELECT_FG_MONO    WHITE
  142. #define DEF_CANVAS_TAKE_FOCUS        (char *) NULL
  143. #define DEF_CANVAS_WIDTH        "10c"
  144. #define DEF_CANVAS_X_SCROLL_CMD        ""
  145. #define DEF_CANVAS_X_SCROLL_INCREMENT    "0"
  146. #define DEF_CANVAS_Y_SCROLL_CMD        ""
  147. #define DEF_CANVAS_Y_SCROLL_INCREMENT    "0"
  148.  
  149. /*
  150.  * Defaults for entries:
  151.  */
  152.  
  153. #define DEF_ENTRY_BG_COLOR        NORMAL_BG
  154. #define DEF_ENTRY_BG_MONO        WHITE
  155. #define DEF_ENTRY_BORDER_WIDTH        "2"
  156. #define DEF_ENTRY_CURSOR        "xterm"
  157. #ifdef STk_CODE
  158. #define DEF_ENTRY_EXPORT_SELECTION    "#t"
  159. #else
  160. #define DEF_ENTRY_EXPORT_SELECTION    "1"
  161. #endif
  162. #define DEF_ENTRY_FONT            "-Adobe-Helvetica-Medium-R-Normal--*-120-*-*-*-*-*-*"
  163. #define DEF_ENTRY_FG            BLACK
  164. #define DEF_ENTRY_HIGHLIGHT_BG        NORMAL_BG
  165. #define DEF_ENTRY_HIGHLIGHT        BLACK
  166. #define DEF_ENTRY_HIGHLIGHT_WIDTH    "2"
  167. #define DEF_ENTRY_INSERT_BG        BLACK
  168. #define DEF_ENTRY_INSERT_BD_COLOR    "0"
  169. #define DEF_ENTRY_INSERT_BD_MONO    "0"
  170. #define DEF_ENTRY_INSERT_OFF_TIME    "300"
  171. #define DEF_ENTRY_INSERT_ON_TIME    "600"
  172. #define DEF_ENTRY_INSERT_WIDTH        "2"
  173. #define DEF_ENTRY_JUSTIFY        "left"
  174. #define DEF_ENTRY_RELIEF        "sunken"
  175. #define DEF_ENTRY_SCROLL_COMMAND    ""
  176. #define DEF_ENTRY_SELECT_COLOR        SELECT_BG
  177. #define DEF_ENTRY_SELECT_MONO        BLACK
  178. #define DEF_ENTRY_SELECT_BD_COLOR    "1"
  179. #define DEF_ENTRY_SELECT_BD_MONO    "0"
  180. #define DEF_ENTRY_SELECT_FG_COLOR    BLACK
  181. #define DEF_ENTRY_SELECT_FG_MONO    WHITE
  182. #define DEF_ENTRY_SHOW            (char *) NULL
  183. #define DEF_ENTRY_STATE            "normal"
  184. #define DEF_ENTRY_TAKE_FOCUS        (char *) NULL
  185. #define DEF_ENTRY_TEXT_VARIABLE        ""
  186. #define DEF_ENTRY_WIDTH            "20"
  187.  
  188. /*
  189.  * Defaults for frames:
  190.  */
  191.  
  192. #define DEF_FRAME_BG_COLOR        NORMAL_BG
  193. #define DEF_FRAME_BG_MONO        WHITE
  194. #define DEF_FRAME_BORDER_WIDTH        "0"
  195. #define DEF_FRAME_CLASS            "Frame"
  196. #define DEF_FRAME_COLORMAP        ""
  197. #define DEF_FRAME_CURSOR        ""
  198. #define DEF_FRAME_HEIGHT        "0"
  199. #define DEF_FRAME_HIGHLIGHT_BG        NORMAL_BG
  200. #define DEF_FRAME_HIGHLIGHT        BLACK
  201. #define DEF_FRAME_HIGHLIGHT_WIDTH    "0"
  202. #define DEF_FRAME_RELIEF        "flat"
  203. #ifdef STk_CODE
  204. #  define DEF_FRAME_TAKE_FOCUS        "#f"
  205. #else
  206. #  define DEF_FRAME_TAKE_FOCUS        "0"
  207. #endif
  208. #define DEF_FRAME_VISUAL        ""
  209. #define DEF_FRAME_WIDTH            "0"
  210.  
  211. /*
  212.  * Defaults for listboxes:
  213.  */
  214.  
  215. #define DEF_LISTBOX_BG_COLOR        NORMAL_BG
  216. #define DEF_LISTBOX_BG_MONO        WHITE
  217. #define DEF_LISTBOX_BORDER_WIDTH    "2"
  218. #define DEF_LISTBOX_CURSOR        ""
  219. #ifdef STk_CODE
  220. #  define DEF_LISTBOX_EXPORT_SELECTION    "#t"
  221. #else
  222. #  define DEF_LISTBOX_EXPORT_SELECTION    "1"
  223. #endif
  224. #define DEF_LISTBOX_FONT        "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"
  225. #define DEF_LISTBOX_FG            BLACK
  226. #define DEF_LISTBOX_HEIGHT        "10"
  227. #define DEF_LISTBOX_HIGHLIGHT_BG    NORMAL_BG
  228. #define DEF_LISTBOX_HIGHLIGHT        BLACK
  229. #define DEF_LISTBOX_HIGHLIGHT_WIDTH    "2"
  230. #define DEF_LISTBOX_RELIEF        "sunken"
  231. #define DEF_LISTBOX_SCROLL_COMMAND    ""
  232. #define DEF_LISTBOX_SELECT_COLOR    SELECT_BG
  233. #define DEF_LISTBOX_SELECT_MONO        BLACK
  234. #define DEF_LISTBOX_SELECT_BD        "1"
  235. #define DEF_LISTBOX_SELECT_FG_COLOR    BLACK
  236. #define DEF_LISTBOX_SELECT_FG_MONO    WHITE
  237. #define DEF_LISTBOX_SELECT_MODE        "browse"
  238. #ifdef STk_CODE
  239. #  define DEF_LISTBOX_SET_GRID        "#f"
  240. #else
  241. #  define DEF_LISTBOX_SET_GRID        "0"
  242. #endif
  243. #define DEF_LISTBOX_TAKE_FOCUS        (char *) NULL
  244. #define DEF_LISTBOX_WIDTH        "20"
  245.  
  246. /*
  247.  * Defaults for individual entries of menus:
  248.  */
  249.  
  250. #define DEF_MENU_ENTRY_ACTIVE_BG    (char *) NULL
  251. #define DEF_MENU_ENTRY_ACTIVE_FG    (char *) NULL
  252. #define DEF_MENU_ENTRY_ACCELERATOR    (char *) NULL
  253. #define DEF_MENU_ENTRY_BG        (char *) NULL
  254. #define DEF_MENU_ENTRY_BITMAP        None
  255. #define DEF_MENU_ENTRY_COMMAND        (char *) NULL
  256. #define DEF_MENU_ENTRY_FG        (char *) NULL
  257. #define DEF_MENU_ENTRY_FONT        (char *) NULL
  258. #define DEF_MENU_ENTRY_IMAGE        (char *) NULL
  259. #ifdef STk_CODE
  260. #  define DEF_MENU_ENTRY_INDICATOR    "#t"
  261. #else
  262. #  define DEF_MENU_ENTRY_INDICATOR    "1"
  263. #endif
  264. #define DEF_MENU_ENTRY_LABEL        (char *) NULL
  265. #define DEF_MENU_ENTRY_MENU        (char *) NULL
  266. #ifdef STk_CODE
  267. #  define DEF_MENU_ENTRY_OFF_VALUE    "#f"
  268. #  define DEF_MENU_ENTRY_ON_VALUE    "#t"
  269. #else
  270. #  define DEF_MENU_ENTRY_OFF_VALUE    "0"
  271. #  define DEF_MENU_ENTRY_ON_VALUE    "1"
  272. #endif
  273. #define DEF_MENU_ENTRY_SELECT_IMAGE    (char *) NULL
  274. #define DEF_MENU_ENTRY_STATE        "normal"
  275. #define DEF_MENU_ENTRY_VALUE        (char *) NULL
  276. #define DEF_MENU_ENTRY_CHECK_VARIABLE    (char *) NULL
  277. #ifdef STk_CODE
  278. #  define DEF_MENU_ENTRY_RADIO_VARIABLE    "*selected-button*"
  279. #else
  280. #  define DEF_MENU_ENTRY_RADIO_VARIABLE    "selectedButton"
  281. #endif
  282. #define DEF_MENU_ENTRY_SELECT    (char *) NULL
  283. #define DEF_MENU_ENTRY_UNDERLINE    "-1"
  284.  
  285. /*
  286.  * Defaults for menus overall:
  287.  */
  288.  
  289. #define DEF_MENU_ACTIVE_BG_COLOR    ACTIVE_BG
  290. #define DEF_MENU_ACTIVE_BG_MONO        BLACK
  291. #define DEF_MENU_ACTIVE_BORDER_WIDTH    "2"
  292. #define DEF_MENU_ACTIVE_FG_COLOR    BLACK
  293. #define DEF_MENU_ACTIVE_FG_MONO        WHITE
  294. #define DEF_MENU_BG_COLOR        NORMAL_BG
  295. #define DEF_MENU_BG_MONO        WHITE
  296. #define DEF_MENU_BORDER_WIDTH        "2"
  297. #define DEF_MENU_CURSOR            "arrow"
  298. #define DEF_MENU_DISABLED_FG_COLOR    DISABLED
  299. #define DEF_MENU_DISABLED_FG_MONO    ""
  300. #define DEF_MENU_FONT            "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"
  301. #define DEF_MENU_FG            BLACK
  302. #define DEF_MENU_POST_COMMAND        ""
  303. #define DEF_MENU_RELIEF            "raised"
  304. #define DEF_MENU_SELECT_COLOR        INDICATOR
  305. #define DEF_MENU_SELECT_MONO        BLACK
  306. #ifdef STk_CODE
  307. #  define DEF_MENU_TAKE_FOCUS        "#f"
  308. #  define DEF_MENU_TEAROFF        "#t"
  309. #else
  310. #  define DEF_MENU_TAKE_FOCUS        "0"
  311. #  define DEF_MENU_TEAROFF        "1"
  312. #endif
  313. #define DEF_MENU_TEAROFF_CMD        (char *) NULL
  314. #define DEF_MENU_TRANSIENT        "1"
  315.  
  316. /*
  317.  * Defaults for menubuttons:
  318.  */
  319.  
  320. #define DEF_MENUBUTTON_ANCHOR        "center"
  321. #define DEF_MENUBUTTON_ACTIVE_BG_COLOR    ACTIVE_BG
  322. #define DEF_MENUBUTTON_ACTIVE_BG_MONO    BLACK
  323. #define DEF_MENUBUTTON_ACTIVE_FG_COLOR    BLACK
  324. #define DEF_MENUBUTTON_ACTIVE_FG_MONO    WHITE
  325. #define DEF_MENUBUTTON_BG_COLOR        NORMAL_BG
  326. #define DEF_MENUBUTTON_BG_MONO        WHITE
  327. #define DEF_MENUBUTTON_BITMAP        ""
  328. #define DEF_MENUBUTTON_BORDER_WIDTH    "2"
  329. #define DEF_MENUBUTTON_CURSOR        ""
  330. #define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED
  331. #define DEF_MENUBUTTON_DISABLED_FG_MONO    ""
  332. #define DEF_MENUBUTTON_FONT        "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"
  333. #define DEF_MENUBUTTON_FG        BLACK
  334. #define DEF_MENUBUTTON_HEIGHT        "0"
  335. #define DEF_MENUBUTTON_HIGHLIGHT_BG    NORMAL_BG
  336. #define DEF_MENUBUTTON_HIGHLIGHT    BLACK
  337. #define DEF_MENUBUTTON_HIGHLIGHT_WIDTH    "0"
  338. #define DEF_MENUBUTTON_IMAGE        (char *) NULL
  339. #ifdef STk_CODE
  340. #  define DEF_MENUBUTTON_INDICATOR    "#f"
  341. #else
  342. #  define DEF_MENUBUTTON_INDICATOR    "0"
  343. #endif
  344. #define DEF_MENUBUTTON_JUSTIFY        "center"
  345. #ifdef STk_CODE
  346. #  define DEF_MENUBUTTON_MENU        "#f"
  347. #else
  348. #  define DEF_MENUBUTTON_MENU        ""
  349. #endif
  350. #define DEF_MENUBUTTON_PADX        "4p"
  351. #define DEF_MENUBUTTON_PADY        "3p"
  352. #define DEF_MENUBUTTON_RELIEF        "flat"
  353. #define DEF_MENUBUTTON_STATE        "normal"
  354. #ifdef STk_CODE
  355. #  define DEF_MENUBUTTON_TAKE_FOCUS    "#f"
  356. #else
  357. #  define DEF_MENUBUTTON_TAKE_FOCUS    "0"
  358. #endif
  359. #define DEF_MENUBUTTON_TEXT        ""
  360. #define DEF_MENUBUTTON_TEXT_VARIABLE    ""
  361. #define DEF_MENUBUTTON_UNDERLINE    "-1"
  362. #define DEF_MENUBUTTON_WIDTH        "0"
  363. #define DEF_MENUBUTTON_WRAP_LENGTH    "0"
  364.  
  365. /*
  366.  * Defaults for messages:
  367.  */
  368.  
  369. #define DEF_MESSAGE_ANCHOR        "center"
  370. #define DEF_MESSAGE_ASPECT        "150"
  371. #define DEF_MESSAGE_BG_COLOR        NORMAL_BG
  372. #define DEF_MESSAGE_BG_MONO        WHITE
  373. #define DEF_MESSAGE_BORDER_WIDTH    "2"
  374. #define DEF_MESSAGE_CURSOR        ""
  375. #define DEF_MESSAGE_FG            BLACK
  376. #define DEF_MESSAGE_FONT        "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"
  377. #define DEF_MESSAGE_HIGHLIGHT_BG    NORMAL_BG
  378. #define DEF_MESSAGE_HIGHLIGHT        BLACK
  379. #define DEF_MESSAGE_HIGHLIGHT_WIDTH    "0"
  380. #define DEF_MESSAGE_JUSTIFY        "left"
  381. #define DEF_MESSAGE_PADX        "-1"
  382. #define DEF_MESSAGE_PADY        "-1"
  383. #define DEF_MESSAGE_RELIEF        "flat"
  384. #ifdef STk_CODE
  385. #  define DEF_MESSAGE_TAKE_FOCUS    "#f"
  386. #else
  387. #  define DEF_MESSAGE_TAKE_FOCUS    "0"
  388. #endif
  389. #define DEF_MESSAGE_TEXT        ""
  390. #define DEF_MESSAGE_TEXT_VARIABLE    ""
  391. #define DEF_MESSAGE_WIDTH        "0"
  392.  
  393. /*
  394.  * Defaults for scales:
  395.  */
  396.  
  397. #define DEF_SCALE_ACTIVE_BG_COLOR    ACTIVE_BG
  398. #define DEF_SCALE_ACTIVE_BG_MONO    BLACK
  399. #define DEF_SCALE_BG_COLOR        NORMAL_BG
  400. #define DEF_SCALE_BG_MONO        WHITE
  401. #define DEF_SCALE_BIG_INCREMENT        "0"
  402. #define DEF_SCALE_BORDER_WIDTH        "2"
  403. #define DEF_SCALE_COMMAND        ""
  404. #define DEF_SCALE_CURSOR        ""
  405. #define DEF_SCALE_DIGITS        "0"
  406. #define DEF_SCALE_FONT            "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"
  407. #define DEF_SCALE_FG_COLOR        BLACK
  408. #define DEF_SCALE_FG_MONO        BLACK
  409. #define DEF_SCALE_FROM            "0"
  410. #define DEF_SCALE_HIGHLIGHT_BG        NORMAL_BG
  411. #define DEF_SCALE_HIGHLIGHT        BLACK
  412. #define DEF_SCALE_HIGHLIGHT_WIDTH    "2"
  413. #define DEF_SCALE_LABEL            ""
  414. #define DEF_SCALE_LENGTH        "100"
  415. #define DEF_SCALE_ORIENT        "vertical"
  416. #define DEF_SCALE_RELIEF        "flat"
  417. #define DEF_SCALE_REPEAT_DELAY    "300"
  418. #define DEF_SCALE_REPEAT_INTERVAL    "100"
  419. #define DEF_SCALE_RESOLUTION        "1"
  420. #define DEF_SCALE_TROUGH_COLOR        TROUGH
  421. #define DEF_SCALE_TROUGH_MONO        WHITE
  422. #ifdef STk_CODE
  423. #define DEF_SCALE_SHOW_VALUE        "#t"
  424. #else
  425. #define DEF_SCALE_SHOW_VALUE        "1"
  426. #endif
  427. #define DEF_SCALE_SLIDER_LENGTH        "30"
  428. #define DEF_SCALE_SLIDER_RELIEF        "raised"
  429. #define DEF_SCALE_STATE            "normal"
  430. #define DEF_SCALE_TAKE_FOCUS        (char *) NULL
  431. #define DEF_SCALE_TICK_INTERVAL        "0"
  432. #define DEF_SCALE_TO            "100"
  433. #define DEF_SCALE_VARIABLE        ""
  434. #define DEF_SCALE_WIDTH            "15"
  435.  
  436. /*
  437.  * Defaults for scrollbars:
  438.  */
  439.  
  440. #define DEF_SCROLLBAR_ACTIVE_BG_COLOR    ACTIVE_BG
  441. #define DEF_SCROLLBAR_ACTIVE_BG_MONO    BLACK
  442. #define DEF_SCROLLBAR_ACTIVE_RELIEF    "raised"
  443. #define DEF_SCROLLBAR_BG_COLOR        NORMAL_BG
  444. #define DEF_SCROLLBAR_BG_MONO        WHITE
  445. #define DEF_SCROLLBAR_BORDER_WIDTH    "2"
  446. #define DEF_SCROLLBAR_COMMAND        ""
  447. #define DEF_SCROLLBAR_CURSOR        ""
  448. #define DEF_SCROLLBAR_EL_BORDER_WIDTH    "-1"
  449. #define DEF_SCROLLBAR_HIGHLIGHT_BG    NORMAL_BG
  450. #define DEF_SCROLLBAR_HIGHLIGHT        BLACK
  451. #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH    "2"
  452. #ifdef STk_CODE
  453. #  define DEF_SCROLLBAR_JUMP        "#f"
  454. #else
  455. #  define DEF_SCROLLBAR_JUMP        "0"
  456. #endif
  457. #define DEF_SCROLLBAR_ORIENT        "vertical"
  458. #define DEF_SCROLLBAR_RELIEF        "sunken"
  459. #define DEF_SCROLLBAR_REPEAT_DELAY    "300"
  460. #define DEF_SCROLLBAR_REPEAT_INTERVAL    "100"
  461. #define DEF_SCROLLBAR_TAKE_FOCUS    (char *) NULL
  462. #define DEF_SCROLLBAR_TROUGH_COLOR    TROUGH
  463. #define DEF_SCROLLBAR_TROUGH_MONO    WHITE
  464. #define DEF_SCROLLBAR_WIDTH        "15"
  465.  
  466. /*
  467.  * Defaults for texts:
  468.  */
  469.  
  470. #define DEF_TEXT_BG_COLOR        NORMAL_BG
  471. #define DEF_TEXT_BG_MONO        WHITE
  472. #define DEF_TEXT_BORDER_WIDTH        "2"
  473. #define DEF_TEXT_CURSOR            "xterm"
  474. #define DEF_TEXT_FG            BLACK
  475. #ifdef STk_CODE
  476. #  define DEF_TEXT_EXPORT_SELECTION    "#t"
  477. #else
  478. #  define DEF_TEXT_EXPORT_SELECTION    "1"
  479. #endif
  480. #define DEF_TEXT_FONT            "-*-Courier-Medium-R-Normal--*-120-*-*-*-*-*-*"
  481. #define DEF_TEXT_HEIGHT            "24"
  482. #define DEF_TEXT_HIGHLIGHT_BG        NORMAL_BG
  483. #define DEF_TEXT_HIGHLIGHT        BLACK
  484. #define DEF_TEXT_HIGHLIGHT_WIDTH    "2"
  485. #define DEF_TEXT_INSERT_BG        BLACK
  486. #define DEF_TEXT_INSERT_BD_COLOR    "0"
  487. #define DEF_TEXT_INSERT_BD_MONO        "0"
  488. #define DEF_TEXT_INSERT_OFF_TIME    "300"
  489. #define DEF_TEXT_INSERT_ON_TIME        "600"
  490. #define DEF_TEXT_INSERT_WIDTH        "2"
  491. #define DEF_TEXT_PADX            "1"
  492. #define DEF_TEXT_PADY            "1"
  493. #define DEF_TEXT_RELIEF            "sunken"
  494. #define DEF_TEXT_SELECT_COLOR        SELECT_BG
  495. #define DEF_TEXT_SELECT_MONO        BLACK
  496. #define DEF_TEXT_SELECT_BD_COLOR    "1"
  497. #define DEF_TEXT_SELECT_BD_MONO        "0"
  498. #define DEF_TEXT_SELECT_FG_COLOR    BLACK
  499. #define DEF_TEXT_SELECT_FG_MONO        WHITE
  500. #ifdef STk_CODE
  501. #  define DEF_TEXT_SET_GRID        "#f"
  502. #else
  503. #  define DEF_TEXT_SET_GRID        "0"
  504. #endif
  505. #define DEF_TEXT_SPACING1        "0"
  506. #define DEF_TEXT_SPACING2        "0"
  507. #define DEF_TEXT_SPACING3        "0"
  508. #define DEF_TEXT_STATE            "normal"
  509. #define DEF_TEXT_TABS            ""
  510. #define DEF_TEXT_TAKE_FOCUS        (char *) NULL
  511. #define DEF_TEXT_WIDTH            "80"
  512. #define DEF_TEXT_WRAP            "char"
  513. #define DEF_TEXT_XSCROLL_COMMAND    ""
  514. #define DEF_TEXT_YSCROLL_COMMAND    ""
  515.  
  516. /*
  517.  * Defaults for toplevels (most of the defaults for frames also apply
  518.  * to toplevels):
  519.  */
  520.  
  521. #define DEF_TOPLEVEL_CLASS        "Toplevel"
  522. #define DEF_TOPLEVEL_SCREEN        ""
  523.  
  524. #endif /* _TKUNIXDEFAULT */
  525.